package br.com.findimoveis.application;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import br.com.findimoveis.constants.Configuracao;

/**
 * @author soliva
 *
 */
public class BaseController extends HttpServlet implements Configuracao{

	private static final long serialVersionUID = 8616309997674381995L;

	
	
	protected void forward(HttpServletRequest request,
			HttpServletResponse response,String url) throws ServletException, IOException {
		RequestDispatcher requestDispatcher = request.getRequestDispatcher(url);
		requestDispatcher.forward(request, response);
	}
	
	
}
